package com.wcx.application.service;

import com.wcx.application.domian.AdminBean;
import com.wcx.application.domian.StudentBean;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StudentService {
    List<StudentBean> getList();

    int update(StudentBean studentBean);

    int delete(int id);

    int updateAvatarById(String originalFilename, int id);

    int create(StudentBean studentBean);

    List<StudentBean> searchList(StudentBean adminBean);

    int updateAvatarByUserName(String originalFilename, String username);

    StudentBean login(StudentBean studentBean);

    int search(String username);
}
